package com.smart.community.region.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 住户房户关联更新DTO
 * 仅承载可更新字段，避免更新时强制校验新增必填项（如 residentId）
 *
 * 开发规范：遵循《Java后端SpringBoot代码开发规范.md》
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ResidentHouseholdUpdateDTO {
    private Integer residentType;
    private LocalDate moveInDate;
    private LocalDate moveOutDate;
    private LocalDate contractStartDate;
    private LocalDate contractEndDate;
    private BigDecimal monthlyRent;
    private BigDecimal deposit;
    private String contractNo;
    private String remark;
}


